body {
  margin: 0;
  background-color: #f0f0f0;
  font-family: Open Sans, sans-serif;
}

.container {
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px 0 rgba(0, 0, 0, 0.24);
}

.title {
  margin-top: 0;
  margin-bottom: 0;
}

.section__header {
  color: #ffffff;
  background-color: #4557bb;
  text-transform: uppercase;
  padding: 15px 30px 20px;
}

.section__header:after {
  content: "";
  width: 50px;
  height: 3px; 
  
  display: inline-block;
  background-color: #ffffff;
}

.section__description {
  display: block;
  margin-bottom: 5px;
  
  font-size: 1em;  
  font-weight: 700;
  color: #b5bce3;  
}

.post {
  position: relative;
  margin-top: 2%;
}

.post:nth-of-type(1) {
  margin-top: 0;
}

.post__preview {
  max-width: 100%;
  display: block;
}

.post__content {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 15px;
  
  background-color: rgba(69, 87, 187, 0.7);
  text-align: center;
  text-transform: uppercase;
  color: #ffffff;
  
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
}

.post__content:before{
  content: "";
  box-sizing: border-box;    
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border: 2px solid #ffffff;
  
  position: absolute;
  top: 5px;
  left: 5px;  
}

.section__title {
  font-size: 2em;
}

.post__name {
  font-size: 1.5em;
  margin: auto;
}

@media (min-width: 481px) {

  .section__header {
    font-size: 12px;
  }

  .section__body {
    display: flex;
    flex-wrap: wrap;    
    padding: 50px 30px;
  }
    
  .post {
    font-size: 14px;
    width: 49%;
  }

  .post:nth-of-type(odd) {
    margin-right: 1%;
  }

  .post:nth-of-type(even) {
    margin-left: 1%;
  }

  .post:nth-of-type(2) {
    margin-top: 0;
  }
}


@media (max-width: 480px) {

  .section__header {
    font-size: 10px;
    text-align: center;
  }  
  
  .section__body {
    padding: 20px 15px;
  }
  
  .post {
    font-size: 12px;
  } 
}
